const express = require('express');
const router = express.Router();

router.get('/forCurrentUser', (req, res) => {
    const content = [];
    for(let i = 0; i < 100; i++) content.push({
        id: `${i}`,
        partCode: `partCode${i}`,
        partName: `partName${i}`,
        quantity: 2515614,
    });

    res.json({
        message: 'ok',
        payload: {
            content,
            totalElements: 100,
        }
    });
});

module.exports = router;
